package com.zzzyh.forumsystemclient.dao;

import com.zzzyh.forumsystemclient.model.Moment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MomentMapper {
    List<Moment> list(@Param("friends") List<Integer> friends,@Param("offset") Integer offset, @Param("pageSize") Integer pageSize);

    Integer total(@Param("friends") List<Integer> friends);

    void add(Moment moment);

    void update(Moment moment);
}